var mongoose = require('mongoose');

var task_taskLists = new mongoose.Schema({
	taskId: {
		type: String,
		unique: true
	},
	taskContent: String,
	taskLevel: {
		type: Number,
		default: 0
	},
	taskStatus: {	//0未完成，1不合格，2待审核，3审核通过
		type: Number,
		default: 0
	},
	implement: String,
	examine: String,
	taskAdds: String,
	taskDate: {
		type: Date,
		default: Date.now
	},
	completeDate: {
		type: Date,
		default: null
	},
	createTime:{
		type: Date,
		default: Date.now
	}
})

mongoose.model('task_taskLists', task_taskLists);